from ML.ml__practice.ch2.ch2 import *
import matplotlib.pyplot as plt


def pltshow(x, y, title='', xlable='', ylabel=''):
    fig = plt.figure()
    ax = fig.add_subplot(111)
    ax.scatter(x, y, 'r', linewidths=1, title=title, xlable=xlable, ylabel=ylabel)
    ax.legend(loc=1)
    plt.show()


filename = r'/ML/ML_practice/ch2/datingTestSet.txt'
classifyPerson(filename, 3)
# dataingClassTest('datingTestSet.txt',5)